// ensure that these members are only evaluated once (trace should only be emitted once)
listing = new Listing { trace(1) }

listing2: Listing<Int> = listing

listing3 = new Listing {
  new Listing { trace(2) }
}

listing4: Listing<Listing<Int>> = listing3
